#ifndef __CASE_DK_TIMER_H__
#define __CASE_DK_TIMER_H__

#include <gtest/gtest.h>
#include "basic/types.h"
#include "basic/timer.h"
#include "basic/log.h"

using namespace basic;
TEST(Test_dk_timer, time) {
  gTimerInit();
  dkui64 s = gTimerNow();
  dkui64 l = gTimerSinceInSeconds(s);
  M_LOG_INFO("since in seconds:{0}", 1, M_N_2_C(l));
  dkui64 l2 = gTimerSinceInMilliseconds(s);
  M_LOG_INFO("since in ms:{0}", 1, M_N_2_C(l2));
  dkui64 l3 = gTimerSinceInNanoseconds(s);
  M_LOG_INFO("since in ns:{0}", 1, M_N_2_C(l3));
}

#endif
